package com.jianyun.jyzs.bean;

/**
 * Created by yangshijun on 2018/6/11.
 */

public class SignRange extends Response {
    private boolean result;

    private String message;

    private boolean isRangeAddress;

    private LatelyAddress address;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isRangeAddress() {
        return isRangeAddress;
    }

    public void setRangeAddress(boolean rangeAddress) {
        isRangeAddress = rangeAddress;
    }

    public LatelyAddress getAddress() {
        return address;
    }

    public void setAddress(LatelyAddress address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "SignRange{" +
                "result=" + result +
                ", message='" + message + '\'' +
                ", isRangeAddress=" + isRangeAddress +
                ", address=" + address +
                '}';
    }


    public class LatelyAddress extends Response {
        private String range;

        private String lng;

        private String lat;

        private String address;

        public void setRange(String range) {
            this.range = range;
        }

        public String getRange() {
            return this.range;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLng() {
            return this.lng;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getLat() {
            return this.lat;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddress() {
            return this.address;

        }

        @Override
        public String toString() {
            return "LatelyAddress{" +
                    "range='" + range + '\'' +
                    ", lng='" + lng + '\'' +
                    ", lat='" + lat + '\'' +
                    ", address='" + address + '\'' +
                    '}';
        }
    }
}